using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KhoanTienNhapTruongEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KhoanTienNhapTruongEntity</para>
	/// <para>Description: ClassKhoanTienNhapTruongEntity store data of table KhoanTienNhapTruong</para>
	///</summary>

	[DataContract]
	public partial class KhoanTienNhapTruongEntity{


		private bool _InternalChangedIsNullKhoanTienNhapTruong_ID=true;
		private bool _IsNullKhoanTienNhapTruong_ID=true;
		private bool _InternalChangedIsNullKhoanTien_ID=true;
		private bool _IsNullKhoanTien_ID=true;
		private bool _InternalChangedIsNullSoTien=true;
		private bool _IsNullSoTien=true;
		private int _KhoanTienNhapTruong_ID;
		private int _KhoanTien_ID;
		private Decimal _SoTien;
		[DataMember]
		public bool IsNullKhoanTienNhapTruong_ID{
			get{return _IsNullKhoanTienNhapTruong_ID;}
			set{if(!_InternalChangedIsNullKhoanTienNhapTruong_ID)_IsNullKhoanTienNhapTruong_ID=value;}
		}
		[DataMember]
		public bool IsNullKhoanTien_ID{
			get{return _IsNullKhoanTien_ID;}
			set{if(!_InternalChangedIsNullKhoanTien_ID)_IsNullKhoanTien_ID=value;}
		}
		[DataMember]
		public bool IsNullSoTien{
			get{return _IsNullSoTien;}
			set{if(!_InternalChangedIsNullSoTien)_IsNullSoTien=value;}
		}
		[DataMember]
		public int KhoanTienNhapTruong_ID{
			get{return _KhoanTienNhapTruong_ID;}
			set{
				_KhoanTienNhapTruong_ID=value;
				if(_KhoanTienNhapTruong_ID!=null){
					_IsNullKhoanTienNhapTruong_ID=false;
					_InternalChangedIsNullKhoanTienNhapTruong_ID=true;
				}
			}
		}
		[DataMember]
		public int KhoanTien_ID{
			get{return _KhoanTien_ID;}
			set{
				_KhoanTien_ID=value;
				if(_KhoanTien_ID!=null){
					_IsNullKhoanTien_ID=false;
					_InternalChangedIsNullKhoanTien_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal SoTien{
			get{return _SoTien;}
			set{
				_SoTien=value;
				if(_SoTien!=null){
					_IsNullSoTien=false;
					_InternalChangedIsNullSoTien=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KhoanTienNhapTruongEntityBase*****************************************/
	/*****************************************************************************************************/
}

